package com.cjh;

import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author cjh
 */
@SpringBootApplication
@EnableDubbo
@MapperScan("com.cjh.mapper")
public class DubboProviderApplication {
    private static Logger logger = LoggerFactory.getLogger(DubboProviderApplication.class);
    public static void main(String[] args) {
        SpringApplication.run(DubboProviderApplication.class, args);
        logger.info("===生产者已启动===");
    }

}
